#!/usr/bin/env python3

import sys
import os
from python_flow_map.core import analyze_python_code

def run_test():
    src_path = "/home/linden/code/work/NS_solver/Test"
    target_file = "testNS.py"
    
    print(f"Running Python Flow Map analysis on:")
    print(f"  Source: {src_path}")
    print(f"  Target: {target_file}")
    
    # Call the analyze_python_code function with the specified parameters
    analyze_python_code(
        src_directory=[src_path],
        target_function=target_file,
        is_recursive=True,
        local_only=True
    )
    
    print("Analysis complete.")

if __name__ == "__main__":
    run_test() 